<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>gamma: Gamma_v6_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">gamma
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Gamma_v6_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>&#160;&#160;&#160;0x000</td></tr>
<tr class="separator:ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fc33fd38488b4fd2302c1278bf21e97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga4fc33fd38488b4fd2302c1278bf21e97">GAMMA_Enable</a>(BaseAddress)</td></tr>
<tr class="separator:ga4fc33fd38488b4fd2302c1278bf21e97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad53d81b8e16f7c72ac9aab4af5157498"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#gad53d81b8e16f7c72ac9aab4af5157498">GAMMA_Disable</a>(BaseAddress)</td></tr>
<tr class="separator:gad53d81b8e16f7c72ac9aab4af5157498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf73e419f5da8c0f799d67c9af77f5554"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#gaf73e419f5da8c0f799d67c9af77f5554">GAMMA_RegUpdateEnable</a>(BaseAddress)</td></tr>
<tr class="separator:gaf73e419f5da8c0f799d67c9af77f5554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae985e1c1862e5394026a6d3236b44046"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#gae985e1c1862e5394026a6d3236b44046">GAMMA_RegUpdateDisable</a>(BaseAddress)</td></tr>
<tr class="separator:gae985e1c1862e5394026a6d3236b44046"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f9a4b56782be020a4363fe86c3ac18a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga7f9a4b56782be020a4363fe86c3ac18a">GAMMA_BypassEnable</a>(BaseAddress)</td></tr>
<tr class="separator:ga7f9a4b56782be020a4363fe86c3ac18a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga949760c76fa9c74d3f61b829b802f2f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga949760c76fa9c74d3f61b829b802f2f0">GAMMA_BypassDisable</a>(BaseAddress)</td></tr>
<tr class="separator:ga949760c76fa9c74d3f61b829b802f2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cc21471072f3ca8f686c62e2b1d3c8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga4cc21471072f3ca8f686c62e2b1d3c8c">GAMMA_TestPatternEnable</a>(BaseAddress)</td></tr>
<tr class="separator:ga4cc21471072f3ca8f686c62e2b1d3c8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga134f71d23d97fa495dcc6fbf5c3bddc0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga134f71d23d97fa495dcc6fbf5c3bddc0">GAMMA_TestPatternDisable</a>(BaseAddress)</td></tr>
<tr class="separator:ga134f71d23d97fa495dcc6fbf5c3bddc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58a2ef21de2e9cd672a58d0252eb4e16"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga58a2ef21de2e9cd672a58d0252eb4e16">GAMMA_Reset</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, <a class="el" href="group__gamma__v6__0.html#ga2544e77a71af2a9845569234f2abc9dc">GAMMA_RST_RESET</a>) \</td></tr>
<tr class="separator:ga58a2ef21de2e9cd672a58d0252eb4e16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33e73e40757ef2c61532c894d38cb961"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga33e73e40757ef2c61532c894d38cb961">GAMMA_ClearReset</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, 0) \</td></tr>
<tr class="separator:ga33e73e40757ef2c61532c894d38cb961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b32c1a85741f76d4fb193743c3a2ddd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga9b32c1a85741f76d4fb193743c3a2ddd">GAMMA_AutoSyncReset</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, <a class="el" href="group__gamma__v6__0.html#ga4e09672b6a259d7586bf0beb05d7b899">GAMMA_RST_AUTORESET</a>) \</td></tr>
<tr class="separator:ga9b32c1a85741f76d4fb193743c3a2ddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf10229bbb81937fdc499e40e8bdd380a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;GAMMA_In32((BaseAddress) + (RegOffset))</td></tr>
<tr class="separator:gaf10229bbb81937fdc499e40e8bdd380a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04c8bc613ba3f70c9ba41e68fc263765"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;GAMMA_Out32((BaseAddress) + (RegOffset), (Data))</td></tr>
<tr class="separator:ga04c8bc613ba3f70c9ba41e68fc263765"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga8c434e70680a1a66ad66cae2e5fff479"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_ACTIVE_SIZE&#160;&#160;&#160;0x020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Active Size (V x H) </p>

</div>
</div>
<a class="anchor" id="gad16c453b6d1a93ee44648dc70fa57cde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_ADDR_DATA&#160;&#160;&#160;0x104</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Address and Data register. </p>

</div>
</div>
<a class="anchor" id="ga9b32c1a85741f76d4fb193743c3a2ddd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_AutoSyncReset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, <a class="el" href="group__gamma__v6__0.html#ga4e09672b6a259d7586bf0beb05d7b899">GAMMA_RST_AUTORESET</a>) \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>This macro resets a Gamma instance, but differs from <a class="el" href="group__gamma__v6__0.html#ga58a2ef21de2e9cd672a58d0252eb4e16" title="This macro resets a Gamma instance. ">GAMMA_Reset()</a> in that it automatically synchronizes to the VBlank_in input of the core to prevent tearing. </p>
<p>On the next rising-edge of VBlank_in following a call to <a class="el" href="group__gamma__v6__0.html#ga9b32c1a85741f76d4fb193743c3a2ddd" title="This macro resets a Gamma instance, but differs from GAMMA_Reset() in that it automatically synchroni...">GAMMA_AutoSyncReset()</a>, all of the core's configuration registers and outputs will be reset, then the reset flag will be immediately released, allowing the core to immediately resume default operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga58a2ef21de2e9cd672a58d0252eb4e16" title="This macro resets a Gamma instance. ">GAMMA_Reset(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga949760c76fa9c74d3f61b829b802f2f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_BypassDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) &amp; \</div>
<div class="line">            ~<a class="code" href="group__gamma__v6__0.html#ga172a7555e9d2a77aa76cc2cb784d98e2">GAMMA_CTL_BPE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga172a7555e9d2a77aa76cc2cb784d98e2"><div class="ttname"><a href="group__gamma__v6__0.html#ga172a7555e9d2a77aa76cc2cb784d98e2">GAMMA_CTL_BPE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_BPE_MASK</div><div class="ttdoc">Gamma ByPass Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:95</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro disables Bypass mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga949760c76fa9c74d3f61b829b802f2f0" title="This macro disables Bypass mode. ">GAMMA_BypassDisable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga7f9a4b56782be020a4363fe86c3ac18a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_BypassEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>,  \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) | \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#ga172a7555e9d2a77aa76cc2cb784d98e2">GAMMA_CTL_BPE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga172a7555e9d2a77aa76cc2cb784d98e2"><div class="ttname"><a href="group__gamma__v6__0.html#ga172a7555e9d2a77aa76cc2cb784d98e2">GAMMA_CTL_BPE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_BPE_MASK</div><div class="ttdoc">Gamma ByPass Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:95</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro enables Bypass mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga7f9a4b56782be020a4363fe86c3ac18a" title="This macro enables Bypass mode. ">GAMMA_BypassEnable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga33e73e40757ef2c61532c894d38cb961"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_ClearReset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, 0) \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>This macro clears the Gamma's reset flag (which is set using <a class="el" href="group__gamma__v6__0.html#ga58a2ef21de2e9cd672a58d0252eb4e16" title="This macro resets a Gamma instance. ">GAMMA_Reset()</a>, and returns it to normal operation. </p>
<p>This ClearReset effects the core immediately, and may cause image tearing.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga33e73e40757ef2c61532c894d38cb961" title="This macro clears the Gamma&#39;s reset flag (which is set using GAMMA_Reset(), and returns it to normal ...">GAMMA_ClearReset(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga088ebd5cbb1d6aabd28bd8a2f13da3b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_CONTROL&#160;&#160;&#160;0x000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Register Offsets. </p>
<p>Control </p>

</div>
</div>
<a class="anchor" id="ga172a7555e9d2a77aa76cc2cb784d98e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_CTL_BPE_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Gamma ByPass Enable. </p>

</div>
</div>
<a class="anchor" id="gacf947b89d4267310dfb0a0cc1d8ae25e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_CTL_EN_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Gamma Enable. </p>

</div>
</div>
<a class="anchor" id="ga041d40a3c693fe10c9af69f927117676"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_CTL_RUE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Gamma Register Update Enable. </p>

</div>
</div>
<a class="anchor" id="ga988a7efffaccfc7a4d6ec40642b96d73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_CTL_TPE_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Gamma Test Pattern Enable. </p>

</div>
</div>
<a class="anchor" id="gad53d81b8e16f7c72ac9aab4af5157498"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_Disable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) &amp; \</div>
<div class="line">            ~<a class="code" href="group__gamma__v6__0.html#gacf947b89d4267310dfb0a0cc1d8ae25e">GAMMA_CTL_EN_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gacf947b89d4267310dfb0a0cc1d8ae25e"><div class="ttname"><a href="group__gamma__v6__0.html#gacf947b89d4267310dfb0a0cc1d8ae25e">GAMMA_CTL_EN_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_EN_MASK</div><div class="ttdoc">Gamma Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:93</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro disables a Gamma instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#gad53d81b8e16f7c72ac9aab4af5157498" title="This macro disables a Gamma instance. ">GAMMA_Disable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga4fc33fd38488b4fd2302c1278bf21e97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_Enable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>,  \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) | \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gacf947b89d4267310dfb0a0cc1d8ae25e">GAMMA_CTL_EN_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gacf947b89d4267310dfb0a0cc1d8ae25e"><div class="ttname"><a href="group__gamma__v6__0.html#gacf947b89d4267310dfb0a0cc1d8ae25e">GAMMA_CTL_EN_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_EN_MASK</div><div class="ttdoc">Gamma Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:93</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro enables a instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga4fc33fd38488b4fd2302c1278bf21e97" title="This macro enables a instance. ">GAMMA_Enable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="gaa60d24cfcbf3f0cd6576c0c442b21733"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_ERROR&#160;&#160;&#160;0x008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Error. </p>

</div>
</div>
<a class="anchor" id="ga1f25e49261fae8b6dd2aad49aaa479fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_IRQ_EN&#160;&#160;&#160;0x00C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>IRQ Enable. </p>

</div>
</div>
<a class="anchor" id="gaf10229bbb81937fdc499e40e8bdd380a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;GAMMA_In32((BaseAddress) + (RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Read the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h) </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at top of this file)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a" title="Read the given register. ">GAMMA_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gae985e1c1862e5394026a6d3236b44046"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_RegUpdateDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, \</div>
<div class="line">                <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) &amp; \</div>
<div class="line">                ~<a class="code" href="group__gamma__v6__0.html#ga041d40a3c693fe10c9af69f927117676">GAMMA_CTL_RUE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga041d40a3c693fe10c9af69f927117676"><div class="ttname"><a href="group__gamma__v6__0.html#ga041d40a3c693fe10c9af69f927117676">GAMMA_CTL_RUE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_RUE_MASK</div><div class="ttdoc">Gamma Register Update Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:94</div></div>
</div><!-- fragment -->
<p>This macro tells a Gamma instance not to update it's configuration registers made so far by the software. </p>
<p>When disabled, changes to other configuration registers are stored, but do not effect the core's behavior.</p>
<p>This function only works when the Gamma core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#gae985e1c1862e5394026a6d3236b44046" title="This macro tells a Gamma instance not to update it&#39;s configuration registers made so far by the softw...">GAMMA_RegUpdateDisable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="gaf73e419f5da8c0f799d67c9af77f5554"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_RegUpdateEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, \</div>
<div class="line">                <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) | \</div>
<div class="line">                <a class="code" href="group__gamma__v6__0.html#ga041d40a3c693fe10c9af69f927117676">GAMMA_CTL_RUE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga041d40a3c693fe10c9af69f927117676"><div class="ttname"><a href="group__gamma__v6__0.html#ga041d40a3c693fe10c9af69f927117676">GAMMA_CTL_RUE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_RUE_MASK</div><div class="ttdoc">Gamma Register Update Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:94</div></div>
</div><!-- fragment -->
<p>This macro tells a Gamma instance to pick up all the register value changes made so far by the software. </p>
<p>The registers will be automatically updated on the next rising-edge of the VBlank_in signal on the core. It is up to the user to manually disable the register update after a sufficient amount if time.</p>
<p>This function only works when the Gamma core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#gaf73e419f5da8c0f799d67c9af77f5554" title="This macro tells a Gamma instance to pick up all the register value changes made so far by the softwa...">GAMMA_RegUpdateEnable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga58a2ef21de2e9cd672a58d0252eb4e16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_Reset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="el" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, <a class="el" href="group__gamma__v6__0.html#ga2544e77a71af2a9845569234f2abc9dc">GAMMA_RST_RESET</a>) \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>This macro resets a Gamma instance. </p>
<p>This reset effects the core immediately, and may cause image tearing.</p>
<p>This reset resets the Gamma's configuration registers, and holds the core's outputs in their reset state until <a class="el" href="group__gamma__v6__0.html#ga33e73e40757ef2c61532c894d38cb961" title="This macro clears the Gamma&#39;s reset flag (which is set using GAMMA_Reset(), and returns it to normal ...">GAMMA_ClearReset()</a> is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga58a2ef21de2e9cd672a58d0252eb4e16" title="This macro resets a Gamma instance. ">GAMMA_Reset(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga4e09672b6a259d7586bf0beb05d7b899"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_RST_AUTORESET&#160;&#160;&#160;0x40000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Software Reset - Auto-synchronize to SOF. </p>

</div>
</div>
<a class="anchor" id="ga2544e77a71af2a9845569234f2abc9dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_RST_RESET&#160;&#160;&#160;0x80000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Software Reset - Instantaneous. </p>

</div>
</div>
<a class="anchor" id="ga1dbbe98bf87b7bf54f9c86d760d9485a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_STATUS&#160;&#160;&#160;0x004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Status. </p>

</div>
</div>
<a class="anchor" id="ga2fda8dd3d76b546b398198cd528e3b07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_SYSDEBUG0&#160;&#160;&#160;0x014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>System Debug 0. </p>

</div>
</div>
<a class="anchor" id="ga12f3182e24f25fffd39f4d944936273f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_SYSDEBUG1&#160;&#160;&#160;0x018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>System Debug 1. </p>

</div>
</div>
<a class="anchor" id="ga2a36fb75bb958f7810d3a776287966e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_SYSDEBUG2&#160;&#160;&#160;0x01C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>System Debug 2. </p>

</div>
</div>
<a class="anchor" id="ga1b09ca299c63a20fc66bc5cc30cdb8ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_TABLE_UPDATE&#160;&#160;&#160;0x100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Swap to inactive LUT. </p>

</div>
</div>
<a class="anchor" id="ga134f71d23d97fa495dcc6fbf5c3bddc0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_TestPatternDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>, \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) &amp; \</div>
<div class="line">            ~<a class="code" href="group__gamma__v6__0.html#ga988a7efffaccfc7a4d6ec40642b96d73">GAMMA_CTL_TPE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga988a7efffaccfc7a4d6ec40642b96d73"><div class="ttname"><a href="group__gamma__v6__0.html#ga988a7efffaccfc7a4d6ec40642b96d73">GAMMA_CTL_TPE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_TPE_MASK</div><div class="ttdoc">Gamma Test Pattern Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:96</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro disables Test Pattern Input. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga134f71d23d97fa495dcc6fbf5c3bddc0" title="This macro disables Test Pattern Input. ">GAMMA_TestPatternDisable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga4cc21471072f3ca8f686c62e2b1d3c8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_TestPatternEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>,  \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a>(BaseAddress, <a class="code" href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a>) | \</div>
<div class="line">            <a class="code" href="group__gamma__v6__0.html#ga988a7efffaccfc7a4d6ec40642b96d73">GAMMA_CTL_TPE_MASK</a>)</div>
<div class="ttc" id="group__gamma__v6__0_html_ga988a7efffaccfc7a4d6ec40642b96d73"><div class="ttname"><a href="group__gamma__v6__0.html#ga988a7efffaccfc7a4d6ec40642b96d73">GAMMA_CTL_TPE_MASK</a></div><div class="ttdeci">#define GAMMA_CTL_TPE_MASK</div><div class="ttdoc">Gamma Test Pattern Enable. </div><div class="ttdef"><b>Definition:</b> gamma.h:96</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga088ebd5cbb1d6aabd28bd8a2f13da3b3"><div class="ttname"><a href="group__gamma__v6__0.html#ga088ebd5cbb1d6aabd28bd8a2f13da3b3">GAMMA_CONTROL</a></div><div class="ttdeci">#define GAMMA_CONTROL</div><div class="ttdoc">Register Offsets. </div><div class="ttdef"><b>Definition:</b> gamma.h:75</div></div>
<div class="ttc" id="group__gamma__v6__0_html_ga04c8bc613ba3f70c9ba41e68fc263765"><div class="ttname"><a href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765">GAMMA_WriteReg</a></div><div class="ttdeci">#define GAMMA_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:373</div></div>
<div class="ttc" id="group__gamma__v6__0_html_gaf10229bbb81937fdc499e40e8bdd380a"><div class="ttname"><a href="group__gamma__v6__0.html#gaf10229bbb81937fdc499e40e8bdd380a">GAMMA_ReadReg</a></div><div class="ttdeci">#define GAMMA_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> gamma.h:354</div></div>
</div><!-- fragment -->
<p>This macro enables Test Pattern Input. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga4cc21471072f3ca8f686c62e2b1d3c8c" title="This macro enables Test Pattern Input. ">GAMMA_TestPatternEnable(u32 BaseAddress)</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ga6d19af90eeb8f1c003009a1c134a30c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_TIMING_STATUS&#160;&#160;&#160;0x024</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Timing Measurement Status. </p>

</div>
</div>
<a class="anchor" id="ga0143d93ce9a57d56122a2949ce7c2d39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_VERSION&#160;&#160;&#160;0x010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Version. </p>

</div>
</div>
<a class="anchor" id="ga04c8bc613ba3f70c9ba41e68fc263765"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GAMMA_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;GAMMA_Out32((BaseAddress) + (RegOffset), (Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="gamma_8h.html">gamma.h</a>&gt;</code></p>

<p>Write the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx EDK base address of the Gamma core (from xparameters.h) </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at top of this file) </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__gamma__v6__0.html#ga04c8bc613ba3f70c9ba41e68fc263765" title="Write the given register. ">GAMMA_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
